package com.example.excel.moudle;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.alibaba.excel.enums.BooleanEnum;
import com.alibaba.excel.enums.poi.FillPatternTypeEnum;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.alibaba.excel.enums.poi.VerticalAlignmentEnum;
import lombok.Data;

import java.util.Date;

/**
 * 涉嫌仿冒车辆名单标题格式设置
 * @author wuzhixin
 */
@Data
@HeadStyle(fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND, fillForegroundColor = 40,
        horizontalAlignment = HorizontalAlignmentEnum.CENTER,verticalAlignment = VerticalAlignmentEnum.CENTER,
        wrapped = BooleanEnum.FALSE)
@HeadFontStyle(fontHeightInPoints = 13)
@ContentFontStyle(fontHeightInPoints = 12)
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER,
        verticalAlignment = VerticalAlignmentEnum.CENTER, wrapped = BooleanEnum.FALSE)
public class SuspectedCounterfeitVehiclesData {

    @ExcelProperty({"序号"})
    private Integer orgId;

    @ExcelProperty({"车牌号"})
    private String plateNo;

    @ExcelProperty({"车牌颜色"})
    private String plateColorName;

    @ExcelProperty({"行业"})
    private String industry = "巡游出租";

    @ExcelProperty({"车辆营运状态"})
    private String operStatusName;

    @ExcelProperty({"所属企业"})
    private String vehEntName;

    @ExcelProperty({"最近一次通行设备"})
    private String lastDeviceName;

    @ExcelProperty({"最近一次通行时间"})
    private Date lastDeviceTime;

    @ExcelProperty({"是否重点监管"})
    private String emphasisStatusName;
}
